#ifndef __LS3X_H
#define __LS3X_H

#define LOONGSON_REG_BASE	0x1fe00000

#define LS2X_GPIO_BASE			0x1fe00500

#define LS3X_UART0_BASE			0x1fe001e0
#if defined(LOONGSON3A3000)
#define LS3X_SPI0_BASE			0x1fe00220
#elif defined(LOONGSON3A4000)
#define LS3X_SPI0_BASE			0x1fe001f0
#endif

#include "ls7a.h"

#include "regs-clk.h"
#include "pm.h"
#include "gpio.h"

#endif
